summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx
index 6830dbe9..223046b7 100644
--- a/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx
@@ -23,6 +23,7 @@ import { RfqTable } from "@/lib/rfq-last/table/rfq-table";
import { getRfqs } from "@/lib/rfq-last/service";
import { searchParamsRfqCache } from "@/lib/rfq-last/validations";
import { InformationButton } from "@/components/information/information-button";
+import { useTranslation } from "@/i18n"
export const metadata: Metadata = {
title: "RFQ 관리",
@@ -30,6 +31,7 @@ export const metadata: Metadata = {
};
interface RfqPageProps {
+ params: Promise<{lng: string}>
searchParams: Promise<SearchParams>;
}
@@ -63,6 +65,8 @@ async function getTabCounts() {
export default async function RfqPage(props: RfqPageProps) {
const searchParams = await props.searchParams;
+ const {lng} = await props.params
+ const {t} = await useTranslation(lng, 'menu')
// nuqs 기반 파라미터 파싱
const search = searchParamsRfqCache.parse(searchParams);
@@ -89,7 +93,7 @@ export default async function RfqPage(props: RfqPageProps) {
<div className="flex items-center justify-between space-y-2">
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 견적목록관리
+ {t('menu.procurement.budget_rfq')}
</h2>
<InformationButton pagePath="evcp/rfq-last" />
</div>